<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/10/30
  Time: 12:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加学生</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/style.css">
</head>
<body>
<div class="dingbu">
    <p>学生管理系统</p>
</div>
<div class="nav">
    <nav>
        <ul>
            <li><a href="index.jsp">首页</a></li>
        </ul>
    </nav>
</div>
<div class="wbd">
    <div class="nbd">
        <h3 class="logtip">添加学生</h3>
        <form action="${pageContext.request.contextPath}/student/addStudent" method="post" name="addForm">
            <div class="form-group">
                <label for="name">姓&nbsp;&nbsp;名</label>
                <input type="text" name="name" class="form-text" id="name" required>
            </div>
            <div class="form-group">
                <label for="label-username">用户名</label>
                <input type="text" name="username" class="form-text" id="username" required>
            </div>
            <div class="form-group">
                <label for="label-password">密码</label>
                <input type="password" name="password" class="form-text" id="password" required>
            </div>
            <div class="form-group">
                <label for="label-email">邮&nbsp;&nbsp;箱</label>
                <input type="email" name="email" class="form-text" id="email" required>
            </div>
            <div class="form-group">
                <label for="label-phone">手机号</label>
                <input type="text" name="phone" class="form-text" id="phone" required>
            </div>
            <div class="form-group">
                <label for="label-gender">性&nbsp;&nbsp;别</label>
                <input type="text" name="gender" class="form-text" id="gender" placeholder="男/女" required>
            </div>
            <div class="form-btn">
                <input type="submit" class="btn-a" value="添加">
            </div>
            <div class="form-btn">
                <a href="${pageContext.request.contextPath}/students/list">取消</a>
            </div>
        </form>
    </div>
</div>
</body>
</html>
